Fold two similar strings into on. (#126204, Danilo Segan)
authorMatthias Clasen <maclas@gmx.de>
Wed, 5 Nov 2003 23:28:53 +0000 (23:28 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Wed, 5 Nov 2003 23:28:53 +0000 (23:28 +0000)
Thu Nov  6 00:27:27 2003  Matthias Clasen  <maclas@gmx.de>

* io-pcx.c (gdk_pixbuf__pcx_load_increment): Fold two similar
strings into on.  (#126204, Danilo Segan)

gdk-pixbuf/ChangeLog
gdk-pixbuf/io-pcx.c

index af313a4dd0ee65253d505de4a389f7ef4f6b4514..608e5453152fe0b266a48dd124cfc6e2876e6467 100644 (file)
@@ -1,3 +1,8 @@
+Thu Nov  6 00:27:27 2003  Matthias Clasen  <maclas@gmx.de>
+
+       * io-pcx.c (gdk_pixbuf__pcx_load_increment): Fold two similar
+       strings into on.  (#126204, Danilo Segan)
+
 2003-09-19  Matthias Clasen  <maclas@gmx.de>
 
        * io-tga.c (try_preload): Remove a pointless check.  
index 10c26f3c24569cf8af46d7385e4e0f9a34ffafea..5ccbeea5a841ec45928d39c698c33ca9e8851197 100644 (file)
@@ -616,7 +616,7 @@ gdk_pixbuf__pcx_load_increment(gpointer data, const guchar *buf, guint size,
                                        break;
                                case 1:
                                        if(context->num_planes < 1 || context->num_planes > 4) {
-                                               g_set_error(error, GDK_PIXBUF_ERROR, GDK_PIXBUF_ERROR_UNKNOWN_TYPE, _("Image has unsupported number of 1-bit planes"));
+                                               g_set_error(error, GDK_PIXBUF_ERROR, GDK_PIXBUF_ERROR_UNKNOWN_TYPE, _("Image has unsupported number of %d-bit planes"), 1);
                                                return FALSE;
                                        }
                                        break;